﻿using System.Configuration;

namespace ErrorDumper.Configuration {
    public class WriterConfigurationElementCollection : ConfigurationElementCollection {

        protected override ConfigurationElement CreateNewElement() {
            return new WriterConfigurationElement();
        }

        protected override object GetElementKey(ConfigurationElement element) {
            return ((WriterConfigurationElement)element).Name;
        }
    }
}